package com.moxiao.yfjh.module.activity.controller.admin.activityVerificate.vo;

import lombok.*;

import java.util.*;

import io.swagger.v3.oas.annotations.media.Schema;
import com.moxiao.yfjh.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

import static com.moxiao.yfjh.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 相亲分销信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ActivityVerificatePageReqVO extends PageParam {

    @Schema(description = "核销编码")
    private String no;
    /**
     * 核销码
     */
    @Schema(description = "核销码")
    private String verificateCode;

    @Schema(description = "用户编号", example = "17422")
    private Long userId;

    @Schema(description = "活动编号", example = "3636")
    private Long activeId;

    @Schema(description = "套餐编号", example = "22215")
    private Long packageId;

    @Schema(description = "活动名称", example = "张三")
    private String activeName;

    @Schema(description = "核销商家")
    private Long verificateMerchant;

    @Schema(description = "核销用户")
    private Long verificateUser;

    @Schema(description = "核销商品")
    private Long verificateProduct;

    @Schema(description = "核销份数")
    private String verificatePhr;

    @Schema(description = "核销金额")
    private String verificateMoney;

    @Schema(description = "核销时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] verificateTime;

    @Schema(description = "套餐详情信息")
    private String packageDetail;

    @Schema(description = "状态", example = "2")
    private Byte status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
